<?php


class Test_DojoController extends WSB_Controller_Action
{

	public function init()
	{
		parent::init(); // immer zuerst!

		$this->_models = array('Member_Model_DbTable_Begroup', 'Member_Model_DbTable_Fegroup');

		$navigation = $this->_helper->getHelper('Navigation');
		$navigation->add(WSB_ADMIN_URL . 'test/index/', 'Index');
		$navigation->add(WSB_ADMIN_URL . 'test/extjs/', 'EXT-JS');
		$navigation->add(WSB_ADMIN_URL . 'test/yui/', 'YUI');
		$navigation->add(WSB_ADMIN_URL . 'test/dojo/', 'Dojo');

		$this->_helper->layout->setLayout('dojo');

	}

	public function preDispatch()
	{
		//$this->_response->appendBody('<h1>Ext JS Spielereien</h1>');
		$this->_response->appendBody('<p>');
		$this->_response->appendBody('   <a href="' . WSB_ADMIN_URL . 'test/dojo/index/">Index</a>');
		$this->_response->appendBody(' | <a href="' . WSB_ADMIN_URL . 'test/dojo/form/">Form</a>');
		$this->_response->appendBody(' | <a href="' . WSB_ADMIN_URL . 'test/dojo/tab/">Tab</a>');
		$this->_response->appendBody(' | <a href="' . WSB_ADMIN_URL . 'test/dojo/accordion/">Accordion</a>');
		$this->_response->appendBody(' | <a href="' . WSB_ADMIN_URL . 'test/dojo/stackcountainer/">Stack Container</a>');
		$this->_response->appendBody(' | <a href="' . WSB_ADMIN_URL . 'test/dojo/splitcontainer/">Split Container</a>');
		$this->_response->appendBody(' | <a href="' . WSB_ADMIN_URL . 'test/dojo/grid/">Grid</a>');
		$this->_response->appendBody('</p>');
	}

	public function gridAction()
	{
	}

	public function indexAction()
	{}

	public function formAction()
	{}

	public function tabAction()
	{}

	public function accordionAction()
	{}

	public function stackcountainerAction()
	{}

	public function splitcontainerAction()
	{}

}
